#!/bin/bash

# 设置MySQL环境变量
export DB_HOST='127.0.0.1'
export DB_PORT='3306'
export DB_USER='root'
export DB_PASSWORD='123456'
export DB_DATABASE='cs'
export DB_CHARSET='utf8mb4'
export DB_POOLSIZE=64

# 设置Redis环境变量
export REDIS_HOST='127.0.0.1'
export REDIS_PORT='6379'

# 设置服务器大区
export SERVER_ID=1

# 设置日志目录
export LOG_PATH='./logs'

# 启动PHP服务器
php start.php